package com.hogocloud.myframe.adapter

import com.hogocloud.corelibrary.common.adapter.BaseQuickAdapter
import com.hogocloud.corelibrary.common.adapter.BaseViewHolder
import kotlinx.android.synthetic.main.item_flow_layout.view.*


/**
 * flowlayout labels
 *
 * @author GaoJunchao
 * @date 2020-04-14
 */
class FlowLayoutLabelAdapter(val layoutRes: Int, val mList: List<String>?) : BaseQuickAdapter<String, BaseViewHolder>(layoutRes, mList) {

    override fun convert(holder: BaseViewHolder, item: String?) {
        holder.itemView.tv_label.text = item
    }
}